<!--{include(pe_tpl('header.html'));}-->
<div class="right_page">
	<div class="now">
		<a href="admin.php?mod=link" class="sel">链接列表（{$tongji['all']}）<i></i></a>
		<a href="admin.php?mod=link&act=add" id="fabu">添加链接</a>
		<div class="clear"></div>
	</div>
	<div class="right_main">
		<form method="post" id="form">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
		<tr>
			<th class="bgtt" width="20"><input type="checkbox" name="checkall" onclick="pe_checkall(this, 'link_id')" /></th>
			<th class="bgtt" width="50">ID号</th>
			<th class="bgtt" width="40">排序</th>
			<th class="bgtt" width="250">链接名称</th>
			<th class="bgtt left">链接地址</th>
			<th class="bgtt" width="110">操作</th>
		</tr>
		<!--{foreach($info_list as $v):}-->
		<tr>
			<td><input type="checkbox" name="link_id[]" value="{$v['link_id']}" /></td>
			<td>{$v['link_id']}</td>
			<td><input type="text" name="link_order[{$v['link_id']}]" value="{$v['link_order']}" class="inputtext input30 center" /></td>
			<td>{$v['link_name']}</td>
			<td class="left"><a href="{$v['link_url']}" target="_blank">{$v['link_url']}</a></td>
			<td>
				<a href="admin.php?mod=link&act=edit&id={$v['link_id']}" class="admin_edit mar3">修改</a>
				<a href="javascript:pe_confirm('删除', 'admin.php?mod=link&act=del&id={$v['link_id']}&token={$pe_token}')" class="admin_del">删除</a>
			</td>
		</tr>
		<!--{endforeach;}-->
		</table>
		</form>
	</div>
	<div class="right_bottom">
		<span class="fl">
			<input type="checkbox" name="checkall" onclick="pe_checkall(this, 'link_id')" />
			<input type="button" onclick="pe_checksel('link_id') && pe_confirm('批量删除', 'admin.php?mod=link&act=del&token={$pe_token}', true)" value="批量删除" />
			<input type="button" onclick="pe_confirm('更新排序', 'admin.php?mod=link&act=order&token={$pe_token}', true)" value="更新排序" />
		</span>
		<span class="fr fenye">{$db->page->html}</span>
		<div class="clear"></div>
	</div>
</div>
<!--{include(pe_tpl('footer.html'));}-->